package com.mingxing.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mingxing.entity.User;
import com.mingxing.entity.Yiren;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YirenMapper extends BaseMapper<Yiren> {


    List<Yiren> getPageList(@Param("iPage") IPage iPage, @Param("obj") Yiren obj);


    int insertDb(@Param("obj") Yiren obj);


    Yiren getByIds(@Param("id") Integer id);


    int updatesDb(@Param("obj") Yiren obj);


    int deleteDb(@Param("id") Integer id);


}
